﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ConcertSpace
{
    public partial class Alertes : Form
    {
        GestionConcertsMyspace g;

        public Alertes(ref GestionConcertsMyspace g)
        {
            this.g = g;
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            g.criteres_alerte = textBox1.Text;
            this.Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void Alertes_Load(object sender, EventArgs e)
        {
            textBox1.Text = g.criteres_alerte;
        }
    }
}
